libxl_qmp: Simplify qmp_response_type() prototype
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 25 May 2018 15:18:45 +0000 (16:18 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 21 Aug 2018 11:16:02 +0000 (12:16 +0100)
commita0816c2006d246ea55c8e53377d54cecf1089b04
tree0cc2d2d33a02439512d78761bdefac3761fff268
parent7fbaf06d2de7f1c44bb41396acdbfb94f74e1cf9
libxl_qmp: Simplify qmp_response_type() prototype

Remove the libxl__qmp_handler* argument so the function can be reused
later in a different context.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_qmp.c